package com.yeyks.common.appcommon.result;

import lombok.Data;

/**
 * filter 异常类
 * @author: gui
 * @date: 2019/6/19 0019 10:50
 */
@Data
public class Ret {

    private int code;

    private String msg;

    public static Ret error(int code, String msg){
        Ret ret = new Ret();
        ret.setCode(code);
        ret.setMsg(msg);
        return ret;
    }

}
